package com.core.image.core.frames;

import com.core.image.core.IoArgs;

import java.io.IOException;

/**
 * describe:
 *
 * @author 库琦
 * @date 2020/02/05/0:15
 */
public class HeartbeatSendFrame extends AbsSendFrame{
    static final byte[] HEARTBEAT_DATA = new byte[]{0, 0, Frame.TYPE_COMMAND_HEARTBEAT, 0, 0, 0};

    public HeartbeatSendFrame() {
        super(HEARTBEAT_DATA);
    }

    @Override
    protected int consumeBody(IoArgs args) throws IOException {
        return 0;
    }

    @Override
    public Frame nextFrame() {
        return null;
    }
}
